﻿@model List<EAD_CA3.Models.CountyDivision>

@{
    ViewBag.Title = "Specify a Division and retrieve all Counties in that Division";
}

<h2>Counties Playing in @ViewBag.League</h2>

<table>
    <tr>
        <th>
            County
        </th>
        <th>
            Division
        </th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.County)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.League_Division)
        </td>
    </tr>
}
</table>
<p>
    @Html.ActionLink("Return to Filter", "Filter")
</p>